<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>

<head>
<style>

</style>
<meta charset="UTF-8">
<title>我的课表</title>
<link rel="stylesheet"
    href="https://cdn.bootcss.com/foundation/5.5.3/css/foundation.min.css" rel="external nofollow" rel="external nofollow" rel="external nofollow" >
<script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
<script
    src="https://cdn.bootcss.com/foundation/5.5.3/js/foundation.min.js"></script>
<script
    src="https://cdn.bootcss.com/foundation/5.5.3/js/vendor/modernizr.js"></script>
</head>
<body align="center"
	style="background-image: url(images/a.gif); background-size: 100%;">
	<%
        Object message = request.getAttribute("message");
        if (message != null && !"".equals(message)) {
    %>
	<script type="text/javascript">
              alert("<%=request.getAttribute("message")%>");
              var  asd=request.getAttribute("username");         
    </script>
	<%
        }
    %>


	<script type="text/javascript">
	function back(){
    	alert('退出成功');
    	location.href='index.jsp';
    	}
    </script>
	
	
		<h1 style="color: white;">信息更改</h1>
<%--         <form action="ContactServlet?method=editstu&xuehao=${item.xuehao}&xingming=${item.xingming}&xingbie=${item.xingbie}&banji=${item.banji}&zhuanye=${item.zhuanye}&password${item.password}&id=${item.id}" method="post" style="width:50%"> --%>
         <form action="Servlet?method=editstu" method="post" style="width:50%">
	
				<!-- forEach遍历出adminBeans -->
				
				<c:forEach items="${holds}" var="item" varStatus="status">
			<fieldset align="center">
				 <label>学号<input type="text" placeholder="xuehao" name="xuehao" value = "${item.xuehao}">
             </label>
         
             <label>姓名<input type="text" placeholder="xingming" name="xingming" value = "${item.xingming}">
             </label>
            <label>性别<input type="text" placeholder="xingbie" name="xingbie" value = "${item.xingbie}">
            </label>
            <label>班级<input type="text" placeholder="banji" name="banji" value = "${item.banji}">
            </label>
            <label>专业<input type="text" placeholder="zhuanye" name="zhuanye" value = "${item.zhuanye}">
            </label>
            <label>密码<input type="text" placeholder="password" name="password" value = "${item.password}">
            </label>
            <label>ID<input type="text" placeholder="id" name="id" value = "${item.id}">
            </label>
				</fieldset>
				</c:forEach>
			<input type="submit"
						value="提  交"
						style="width: 100px; height: 32px; float: center; margin-right: 30px; font-size: 16px;" />
		
			
<!-- 		<button -->
<!-- 			style=" width: 130px; height: 50px; font-size: 23px; color: red; position: center; bottom: 15%;transform: translate(-50%); " -->
<!-- 			onclick="location.href='index0.jsp'">返 回</button> -->
		
		</form>
</body>
</html>